home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / aa_Intel_Only / Gnuplot / GnuplotSource / StatusContour.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  1.6 KB  |  67 lines

  1. /*
  2.  *  Copyright (C) 1993  Robert Davis
  3.  *
  4.  *  This program is free software; you can redistribute it and/or
  5.  *  modify it under the terms of Version 2, or any later version, of 
  6.  *  the GNU General Public License as published by the Free Software 
  7.  *  Foundation.
  8.  */
  9.  
  10. /* $Id: StatusContour.h,v 1.6 1993/05/04 16:22:48 davis Exp $ */
  11.  
  12. #import "Status.h"
  13.  
  14. #define CONTOUR_NONE        0    /* Where to place contour maps */
  15. #define CONTOUR_BASE        1
  16. #define CONTOUR_SRF        2
  17. #define CONTOUR_BOTH        3
  18.  
  19. #define CONTOUR_KIND_LINEAR     0    /* Contour type */
  20. #define CONTOUR_KIND_CUBIC_SPL  1
  21. #define CONTOUR_KIND_BSPLINE    2
  22.  
  23. #define LEVELS_AUTO        0    /* How contour levels are set */
  24. #define LEVELS_INCREMENTAL    1
  25. #define LEVELS_DISCRETE        2
  26.  
  27.  
  28. @interface Status (Contour)
  29.  
  30. - initContour;
  31. - freeContour;
  32.  
  33. - resetCurrentContour;
  34. - applyCurrentContour;
  35. - grabCurrentContour;
  36.  
  37. - setContourBase:(BOOL) cond;
  38. - (BOOL) contourBase;
  39. - setContourSurface:(BOOL) cond;
  40. - (BOOL) contourSurface;
  41.  
  42. - setContourKind:(int) anInt;
  43. - (int) contourKind;
  44. - setContourPoints:(int) anInt;
  45. - (int) contourPoints;
  46. - setContourOrder:(int) anInt;
  47. - (int) contourOrder;
  48.  
  49. - setContourLevels:(int) anInt;
  50. - (int) contourLevels;
  51. - setContourLevelsKind:(int) anInt;
  52. - (int) contourLevelsKind;
  53.  
  54. - setContourLevelsStart:(double)aDouble;    /* Levels Series */
  55. - (double)contourLevelsStart;
  56. - setContourLevelsIncr:(double)aDouble;
  57. - (double)contourLevelsIncr;
  58. - setContourLevelsEnd:(double)aDouble;
  59. - (double)contourLevelsEnd;
  60.  
  61. - (DoubleValueSortedList *) levelDefs;        /* Levels Defined */
  62.  
  63. - setContourInKey:(BOOL) cond;
  64. - (BOOL)contourInKey;
  65.  
  66. @end
  67.